const CryptoJS = require("crypto-js")

// t:待解密的密文
// e:
function decryptWithAES(t) {
    const r = CryptoJS.enc.Utf8.parse('a67e9a3a85049339')
        , o = CryptoJS.enc.Base64.parse(t);
    s = CryptoJS.enc.Hex.parse('86ad9b37cc9f5b9501b3cecc7dc6377c');
    const i = CryptoJS.lib.WordArray.create(o.words);
    return CryptoJS.AES.decrypt({
        ciphertext: i
    }, r, {
        iv: s,
        mode: CryptoJS.mode.CBC,
        padding: CryptoJS.pad.Pkcs7
    }).toString(CryptoJS.enc.Utf8)
}

// let t = "Jr/iZ6LNJQtJ6HjJdtesR0v0rYA35fUlLZPB8t/G/2/DTw/83ceYUfI/JxEQuhiV4+Ff8sD4bWfSPurCMM3u6xvr8tNd0xU8ZZt/KqYXZ7+wpFC5eXYRj+NIQ9jVTO/dvn0yMuZ3Bi8hZoLxuABWLyNBEu3xoDhH9yYJfJV+QBuzMxTsSVdjNWYwbDSPeR8C4sL2fqdDZK4PRupDXl0h1YcH167UgbUgE3yzMBANf9s6MsmvCgivuUySwZPms26V"
// let plain_text = decryptWithAES(t)
// console.log(plain_text)
